package com.vhall.component.entity.account.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author yongzheng.xu
 * @date 2021/8/18 16:10
 */
@Data
public class AccountEditVO implements Serializable {

    @NotEmpty(message = "nick_name 参数错误")
    @ParamName(value = "nick_name")
    String nickname;

    @NotNull(message = "app_id 参数错误")
    @ParamName("app_id")
    String appId;
}
